// 常量路由路由
export const constantRoute = [
    {
        // 首页
        path: "/home",
        name: 'Home',
        component: () => import('@/pages/home/index.vue')
    },
    {
        // 产品中心
        path: "/product",
        name: 'Product',
        component: () => import('@/pages/product/index.vue')
    },
    {
        // 新闻动态
        path: "/new",
        name: 'New',
        component: () => import('@/pages/new/index.vue')
    },
    {
        // 关于我们
        path: "/about",
        name: 'About',
        component: () => import('@/pages/about/index.vue')
    },
    {
        // 联系我们
        path: "/contact",
        name: 'Contact',
        component: () => import('@/pages/contact/index.vue')
    },
    {
        // 发展历程
        path: "/history",
        name: 'History',
        component: () => import('@/pages/history/index.vue')
    },
    {
        // 产品详情
        path: "/detail",
        name: 'Detail',
        component: () => import('@/pages/detail/index.vue')
    },
    {
        // 新闻详情
        path: "/newDetail",
        name: 'NewDetail',
        component: () => import('@/pages/newDetail/index.vue')
    },
    //重定向
    {
        path: '/:pathMatch(.*)*',
        redirect: "/home"
    }
]